package com.pengxun.manager.model.system;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.pengxun.manager.vo.RolePermissionVO;

public class Role{
	@NotNull
	@Size(max=20,message="roleName length of the overrun")
	private String roleName;
	private Long createBy;
	private Integer isAuthUse;
	private Integer roleId;
	private Integer isInitialise;
	private String roleCode;
	private String remark;
	private Date createDate;
	private Long updateBy;
	private Date updateDate;
	private Integer status;
	private Integer companyId;
	
	/**
	 * 权限列表
	 */
	private RolePermissionVO rolePermission;
	
	public RolePermissionVO getRolePermission() {
		return rolePermission;
	}
	public void setRolePermission(RolePermissionVO rolePermission) {
		this.rolePermission = rolePermission;
	}
	public String getRoleName(){
		return this.roleName;
	}
	public void setRoleName(String roleName){
		this.roleName=roleName;
	}
	public Long getCreateBy(){
		return this.createBy;
	}
	public void setCreateBy(Long createBy){
		this.createBy=createBy;
	}
	public Integer getIsAuthUse(){
		return this.isAuthUse;
	}
	public void setIsAuthUse(Integer isAuthUse){
		this.isAuthUse=isAuthUse;
	}
	public Integer getRoleId(){
		return this.roleId;
	}
	public void setRoleId(Integer roleId){
		this.roleId=roleId;
	}
	public Integer getIsInitialise(){
		return this.isInitialise;
	}
	public void setIsInitialise(Integer isInitialise){
		this.isInitialise=isInitialise;
	}
	public String getRoleCode(){
		return this.roleCode;
	}
	public void setRoleCode(String roleCode){
		this.roleCode=roleCode;
	}
	public String getRemark(){
		return this.remark;
	}
	public void setRemark(String remark){
		this.remark=remark;
	}
	public Date getCreateDate(){
		return this.createDate;
	}
	public void setCreateDate(Date createDate){
		this.createDate=createDate;
	}
	public Long getUpdateBy(){
		return this.updateBy;
	}
	public void setUpdateBy(Long updateBy){
		this.updateBy=updateBy;
	}
	public Date getUpdateDate(){
		return this.updateDate;
	}
	public void setUpdateDate(Date updateDate){
		this.updateDate=updateDate;
	}
	public Integer getStatus(){
		return this.status;
	}
	public void setStatus(Integer status){
		this.status=status;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

}